﻿
using HBase;
using System.Collections.Generic;
using System.Data;

namespace hCommand {
    /**
   *┌────────────────────────────────────────────────┐
   *│　描    述：BaseConfig                                                    
   *│　作    者：sgj                                              
   *│　版    本：1.0                                              
   *│　创建时间：2020/9/16 13:39:34                        
   *└────────────────────────────────────────────────┘
   **/
    public class I18nConfig {
        public static TaskDelete taskDelete;
        public static LocSelect selection;
        public static void deleteTask(Sw sw, AbsCoreStock cs, int status) {

            if (taskDelete != null) {

                taskDelete.delete(sw, cs, status);
            }
        }

       

        public static long getGroupId(Sw sw, int moveGroup) {
            return selection.getId(sw, moveGroup);
        }


        public static CoreWhLoc select<CS>(List<CoreWhLoc> locList, long goodDiff, CS cs) where CS : AbsCoreStock {
            return selection.select(locList, goodDiff, cs);
        }
       
        public static bool canWork(long meId, long beforeId, List<long> relyTask) {
            return selection.canWork(meId, beforeId, relyTask);

        }

        public static bool isLoc(long loc) {
            return selection.isLoc(loc);
        }


    }
}
